package com.eight.paper.admin.domain.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 试题管理对象，处理论述题类型：2:填空题; 3:名词解释; 4:简答题; 5:病例分析题; 6:论述题
 * 
 * @author 爱考线上考试系统
 * @date 2023-10-04
 */
@Data
public class QuestionAnswerBody extends QuestionListBody
{
    @ApiModelProperty("答案")
    @NotEmpty(message = "答案不能为空")
    private List<QuestionAnswer> answers;
}
